var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);

var server='http://localhost:8085';
if(isAndroid){
	server='http://10.0.2.2:8085';
}

var mediaServer='http://localhost:8087';
if(isAndroid){
	mediaServer='http://10.0.2.2:8087';
}